|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.xml.token.StartTagTokenImpl
public class StartTagTokenImpl
This class provides a default implementation of the start tag token.
| Constructor Summary | |
|---|---|
StartTagTokenImpl(org.millscript.commons.util.IMap<java.lang.String,java.lang.String> previousNamespace,
org.millscript.commons.util.IMap<java.lang.String,java.lang.String> namespace,
Name name,
Attributes attrs)
Contructs a new start tag token with the specified Name and
Attributes. |
|
| Method Summary | |
|---|---|
org.millscript.commons.alert.Alert |
decorate(org.millscript.commons.alert.Alert alert)
|
Attributes |
getAttributes()
Returns the attributes associated with this start tag. |
Name |
getName()
Returns the Name of the start tag. |
org.millscript.commons.util.IMap<java.lang.String,java.lang.String> |
getNamespaceScope()
Returns the mapping of namespace prefix to namespace IRI that are in scope for this start tag. |
org.millscript.commons.util.IMap<java.lang.String,java.lang.String> |
getPreviousNamespaceScope()
Returns the mapping of namespace prefix to namespace IRI that were in scope just before this start tag. |
void |
visit(TokenVisitor tokenVisitor)
Visits the specified token visitor with this token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StartTagTokenImpl(org.millscript.commons.util.IMap<java.lang.String,java.lang.String> previousNamespace,
org.millscript.commons.util.IMap<java.lang.String,java.lang.String> namespace,
Name name,
Attributes attrs)
Name and
Attributes.
previousNamespace - the mapping of namespace prefix to namespace
IRI that were in scope just before this elementnamespace - the mapping of namespace prefix to namespace IRI for
the scope of this elementname - the element Nameattrs - the element Attributes| Method Detail |
|---|
public org.millscript.commons.alert.Alert decorate(org.millscript.commons.alert.Alert alert)
decorate in interface org.millscript.commons.alert.AlertDecoratorAlertDecorator.decorate(org.millscript.commons.alert.Alert)public Attributes getAttributes()
StartTagToken
getAttributes in interface StartTagTokenAttributes instance for this elements
attributesStartTagToken.getAttributes()public Name getName()
StartTagTokenName of the start tag.
getName in interface StartTagTokenName of the start tagStartTagToken.getName()public org.millscript.commons.util.IMap<java.lang.String,java.lang.String> getNamespaceScope()
StartTagToken
getNamespaceScope in interface StartTagTokenIMap containing the in scope namespace prefix
to IRI mapping for this start tagStartTagToken.getNamespaceScope()public org.millscript.commons.util.IMap<java.lang.String,java.lang.String> getPreviousNamespaceScope()
StartTagToken
getPreviousNamespaceScope in interface StartTagTokenIMap containing the in scope namespace prefix
to IRI mapping that were in scope just before this start tagStartTagToken.getPreviousNamespaceScope()public void visit(TokenVisitor tokenVisitor)
Token
visit in interface TokentokenVisitor - the TokenVisitor to visit with this
tokenToken.visit(org.millscript.commons.xml.api.token.TokenVisitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||