Package org.cip4.lib.xjdf.xml.internal
Class XJdfNamespaceMapper
java.lang.Object
com.sun.xml.bind.marshaller.NamespacePrefixMapper
org.cip4.lib.xjdf.xml.internal.XJdfNamespaceMapper
public class XJdfNamespaceMapper
extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
XJDF Namespace Prefix Mapper for organizing namespace prefixes.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.XJdfNamespaceMapper(String nsDefaultNamespace) Custom constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix) Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getContextualNamespaceDecls, getPreDeclaredNamespaceUris, getPreDeclaredNamespaceUris2
-
Constructor Details
-
XJdfNamespaceMapper
public XJdfNamespaceMapper()Default constructor. -
XJdfNamespaceMapper
Custom constructor.
Accepting a String object as place holder for default namespace. This place holder later can be replaced by empty string.
-
-
Method Details
-
getPreferredPrefix
- Specified by:
getPreferredPrefixin classcom.sun.xml.bind.marshaller.NamespacePrefixMapper- See Also:
-
NamespacePrefixMapper.getPreferredPrefix(java.lang.String, java.lang.String, boolean)
-