public class DtdElementCollector extends Object implements TypeMirrorUtilities
DtdElementCollector is a mutable type that collects information from
DTD parsing events and builds template Configurations based on the
collected data.| Constructor and Description |
|---|
DtdElementCollector(Name packageName,
Dtd dtd,
Elements elements,
Messager messager) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
attributeDecl(Configuration configuration,
ContentModel contentModel,
Attribute attribute) |
Configuration |
childElement(Configuration configuration,
ChildElement childElement,
String contentTypeArgument) |
Stream<Configuration> |
configurations(InputSource source) |
ContentModel |
contentModel(String name) |
Stream<Configuration> |
createElementAndContent(ContentModel contentModel) |
Stream<Configuration> |
createElementInterface(ContentModel contentModel) |
Configuration |
elementConfiguration(String typeName,
Stream<Name> imported,
String extendSpec) |
Elements |
elements()
Provides access to the
Elements. |
ContentModel |
missingAttributeReturnType(String elementName,
List<Attribute> all,
List<Attribute> present,
Attribute attribute) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMap, getType, getTypeElement, getTypeMirrorpublic Elements elements()
TypeMirrorUtilitiesElements.
This method must be implemented by the client type.elements in interface TypeMirrorUtilitiesElementspublic Stream<Configuration> configurations(InputSource source) throws IOException, SAXException
IOExceptionSAXExceptionpublic Stream<Configuration> createElementAndContent(ContentModel contentModel)
public Stream<Configuration> createElementInterface(ContentModel contentModel)
public ContentModel missingAttributeReturnType(String elementName, List<Attribute> all, List<Attribute> present, Attribute attribute)
public ContentModel contentModel(String name)
public Configuration elementConfiguration(String typeName, Stream<Name> imported, String extendSpec)
public Configuration attributeDecl(Configuration configuration, ContentModel contentModel, Attribute attribute)
public Configuration childElement(Configuration configuration, ChildElement childElement, String contentTypeArgument)
Copyright © 2022. All rights reserved.