|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.parser.WellFormedXmlFactory
public class WellFormedXmlFactory
A factory for well-formed XML documents.
This factory assumes that every new name of an element type or of an
attribute is new valid name. For entities, instead, resolution is
deferred to HTMLFactory.
| Constructor Summary | |
|---|---|
WellFormedXmlFactory()
|
|
| Method Summary | |
|---|---|
Attribute |
getAttribute(MutableString name)
Returns the Attribute associated
to a name. |
Element |
getElement(MutableString name)
Returns the Element associated
to a name. |
Entity |
getEntity(MutableString name)
Returns the Entity associated
to a name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WellFormedXmlFactory()
| Method Detail |
|---|
public Element getElement(MutableString name)
ParsingFactoryElement associated
to a name.
getElement in interface ParsingFactoryname - the name of an element type.
Element object.public Attribute getAttribute(MutableString name)
ParsingFactoryAttribute associated
to a name.
getAttribute in interface ParsingFactoryname - the name of an attribute.
Attribute object.public Entity getEntity(MutableString name)
ParsingFactoryEntity associated
to a name.
getEntity in interface ParsingFactoryname - the name of an entity.
Entity object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||