public abstract class ModuleStringIdentityrefCodec extends AbstractModuleStringIdentityrefCodec implements IdentityrefCodec<String>
| Modifier and Type | Field and Description |
|---|---|
protected SchemaContext |
context |
protected QNameModule |
parentModuleQname |
| Constructor and Description |
|---|
ModuleStringIdentityrefCodec(SchemaContext context,
QNameModule parentModule) |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
appendQName(StringBuilder sb,
QName qname) |
protected StringBuilder |
appendQName(StringBuilder sb,
QName qname,
QNameModule lastModule)
Append a QName, potentially taking into account last QNameModule encountered in the serialized path.
|
protected QName |
parseQName(String str) |
protected String |
prefixForNamespace(URI namespace)
Return string prefix for a particular namespace, allocating a new one if necessary.
|
createQName, moduleForPrefixdeserialize, serializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializeprotected final SchemaContext context
protected final QNameModule parentModuleQname
public ModuleStringIdentityrefCodec(@Nonnull SchemaContext context, @Nonnull QNameModule parentModule)
protected String prefixForNamespace(@Nonnull URI namespace)
namespace - Namespace to mapprotected final StringBuilder appendQName(StringBuilder sb, QName qname)
protected StringBuilder appendQName(StringBuilder sb, QName qname, @Nullable QNameModule lastModule)
sb - target StringBuilderqname - QName to appendlastModule - last QNameModule encountered, may be nullCopyright © 2018 OpenDaylight. All rights reserved.