Package com.sun.msv.grammar
Class NamespaceNameClass
java.lang.Object
com.sun.msv.grammar.NameClass
com.sun.msv.grammar.NamespaceNameClass
- All Implemented Interfaces:
Serializable
NameClass that matchs any names in a particular namespace.
- See Also:
-
Field Summary
FieldsFields inherited from class com.sun.msv.grammar.NameClass
ALL, LOCALNAME_WILDCARD, NAMESPACE_WILDCARD, NONE
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
namespaceURI
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NamespaceNameClass
-
-
Method Details
-
accepts
accepts a name if its namespace URI matches to the namespaceURI field.- Specified by:
accepts
in classNameClass
- Parameters:
namespaceURI
- namespace URI to be tested. If this value equals to NAMESPACE_WILDCARD, implementation must assume that valid namespace is specified. this twist will be used for error diagnosis.localName
- local part to be tested. As with namespaceURI, LOCALNAME_WILDCARD will acts as a wild card.- Returns:
- true if the pair is accepted, false otherwise.
-
visit
Description copied from class:NameClass
visitor pattern support -
toString
-