|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameFactory
NameFactory
...
Method Summary | |
---|---|
Name |
create(String nameString)
Returns a Name holding the value of the specified
string. |
Name |
create(String namespaceURI,
String localName)
Returns a Name with the given namespace URI and
local part and validates the given parameters. |
Method Detail |
---|
Name create(String namespaceURI, String localName) throws IllegalArgumentException
Name
with the given namespace URI and
local part and validates the given parameters.
namespaceURI
- namespace urilocalName
- local part
IllegalArgumentException
- if namespaceURI
or
localName
is invalid.Name create(String nameString) throws 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 argument
IllegalArgumentException
- if the specified string can not be parsed
as a Name
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |