Package it.unimi.dsi.parser
Class WellFormedXmlFactory
java.lang.Object
it.unimi.dsi.parser.WellFormedXmlFactory
- All Implemented Interfaces:
ParsingFactory
Deprecated.
This class is obsolete and kept around for backward compatibility only.
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
.
- Since:
- 1.0.2
- Author:
- Sebastiano Vigna
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(MutableString name) Deprecated.Returns theAttribute
associated to a name.getElement
(MutableString name) Deprecated.Returns theElement
associated to a name.getEntity
(MutableString name) Deprecated.Returns theEntity
associated to a name.
-
Constructor Details
-
WellFormedXmlFactory
public WellFormedXmlFactory()Deprecated.
-
-
Method Details
-
getElement
Deprecated.Description copied from interface:ParsingFactory
Returns theElement
associated to a name.- Specified by:
getElement
in interfaceParsingFactory
- Parameters:
name
- the name of an element type.- Returns:
- the corresponding interned
Element
object.
-
getAttribute
Deprecated.Description copied from interface:ParsingFactory
Returns theAttribute
associated to a name.- Specified by:
getAttribute
in interfaceParsingFactory
- Parameters:
name
- the name of an attribute.- Returns:
- the corresponding interned
Attribute
object.
-
getEntity
Deprecated.Description copied from interface:ParsingFactory
Returns theEntity
associated to a name.- Specified by:
getEntity
in interfaceParsingFactory
- Parameters:
name
- the name of an entity.- Returns:
- the corresponding interned
Entity
object.
-