public class SimpleT2ReferenceGenerator extends AbstractT2ReferenceGenerator implements T2ReferenceGenerator
Constructor and Description |
---|
SimpleT2ReferenceGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
getNamespace()
Get the namespace for identifiers generated by this class
|
protected String |
getNextLocalPart()
Generate a new local part for a new
reference . |
void |
setNamespace(String newNamespace)
Set the namespace for identifiers generated by this class as a string
|
nextErrorDocumentReference, nextListReference, nextReferenceSetReference
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nextErrorDocumentReference, nextListReference, nextReferenceSetReference
public void setNamespace(String newNamespace)
newNamespace
- the namespace to usepublic String getNamespace()
getNamespace
in interface T2ReferenceGenerator
protected String getNextLocalPart()
AbstractT2ReferenceGenerator
reference
. The
local part should be unique within this
namespace
.getNextLocalPart
in class AbstractT2ReferenceGenerator
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.