Package org.frankframework.align
Class Map2Xml<K,V,N,M extends Map<K,V>>
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.frankframework.align.XmlAligner
org.frankframework.align.ToXml<M,N>
org.frankframework.align.Map2Xml<K,V,N,M>
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,XMLFilter
,XMLReader
- Direct Known Subclasses:
Properties2Xml
Base class for XML Schema guided Map to XML conversion;
ToXml Container C: Map M<K,V>
ToXml Node N: N
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.align.ToXml
MSG_CANNOT_NOT_FIND_ELEMENT_DECLARATION, MSG_EXPECTED_ELEMENT, MSG_INVALID_CONTENT, XSI_PREFIX_MAPPING
Fields inherited from class org.frankframework.align.XmlAligner
FEATURE_NAMESPACE_PREFIXES, FEATURE_NAMESPACES, log, validatorHandler, XML_SCHEMA_INSTANCE_NAMESPACE, XML_SCHEMA_NIL_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionMap2Xml
(ValidatorHandler validatorHandler, List<org.apache.xerces.xs.XSModel> schemaInformation) -
Method Summary
Modifier and TypeMethodDescriptiongetAttributes
(org.apache.xerces.xs.XSElementDeclaration elementDeclaration, N node) getRootNode
(M container) boolean
Methods inherited from class org.frankframework.align.ToXml
asSource, findNamespaceForName, getBestChildElementPath, getBestMatchingElementPath, getChildrenByName, getNamespacePrefix, getNodeNamespaceURI, getQName, getRootElement, getTargetNamespace, getText, getUnprocessedChildElementNames, handleComplexTypedElement, handleElement, handleElementContents, handleError, handleError, handleRootNode, handleSimpleTypedElement, hasChild, isDeepSearch, isFailOnWildcards, parse, processChildElement, sendString, setDeepSearch, setFailOnWildcards, setRootElement, setTargetNamespace, startParse, translate, translate
Methods inherited from class org.frankframework.align.XmlAligner
collectChildElements, determineIsParentOfSingleMultipleOccurringChildElement, endElement, findElementDeclarationForName, findElementDeclarationsForName, findMultipleOccurringChildElements, getAttributeUses, getAttributeUses, getContext, getDocumentLocator, getElementType, getMultipleOccurringChildElements, getSchemaInformation, getSchemaInformation, getTypeDefinition, getTypeDefinition, getValidatorHandler, handleRecoverableError, isIgnoreUndeclaredElements, isMultipleOccurringChildElement, isMultipleOccurringChildInParentElement, isNil, isParentOfSingleMultipleOccurringChildElement, isPresentInSet, isTypeContainsWildcard, newLine, newLine, setDocumentLocator, setFeature, setIgnoreUndeclaredElements, setPsviProvider, setSchemaInformation, startDocument, startElement, typeContainsWildcard
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setParent, setProperty, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
Map2Xml
public Map2Xml(ValidatorHandler validatorHandler, List<org.apache.xerces.xs.XSModel> schemaInformation)
-
-
Method Details
-
getAttributes
public Map<String,String> getAttributes(org.apache.xerces.xs.XSElementDeclaration elementDeclaration, N node) throws SAXException - Specified by:
getAttributes
in classToXml<M extends Map<K,
V>, N> - Throws:
SAXException
-
isNil
-
getRootNode
-