public interface NameFactory
NameFactory
...Modifier and Type | Method and Description |
---|---|
Name |
create(java.lang.String nameString)
Returns a
Name holding the value of the specified
string. |
Name |
create(java.lang.String namespaceURI,
java.lang.String localName)
Returns a
Name with the given namespace URI and
local part and validates the given parameters. |
Name create(java.lang.String namespaceURI, java.lang.String localName) throws java.lang.IllegalArgumentException
Name
with the given namespace URI and
local part and validates the given parameters.namespaceURI
- namespace urilocalName
- local partjava.lang.IllegalArgumentException
- if namespaceURI
or
localName
is invalid.Name create(java.lang.String nameString) throws java.lang.IllegalArgumentException
Name
holding the value of the specified
string. The string must be in the format returned by the
Name.toString()
method, i.e.
{namespaceURI}localName
nameString
- a String
containing the Name
representation to be parsed.Name
represented by the argumentjava.lang.IllegalArgumentException
- if the specified string can not be parsed
as a Name
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"