public class DNSNameAttributeProxy extends Object implements AttributeProxy
Constructor and Description |
---|
DNSNameAttributeProxy() |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
getInstance(Node root)
Tries to create a new
AttributeValue based on the given
DOM root node. |
AttributeValue |
getInstance(String value)
Tries to create a new
AttributeValue based on the given
String data. |
public AttributeValue getInstance(Node root) throws ParsingException
AttributeProxy
AttributeValue
based on the given
DOM root node.getInstance
in interface AttributeProxy
root
- the DOM root of some attribute dataAttributeValue
representing the given dataParsingException
public AttributeValue getInstance(String value) throws ParsingException
AttributeProxy
AttributeValue
based on the given
String data.getInstance
in interface AttributeProxy
value
- the text form of some attribute dataAttributeValue
representing the given dataParsingException
Copyright © 2023 JBoss by Red Hat. All rights reserved.