org.ops4j.pax.construct.inherit
Class PluginSerializer

java.lang.Object
  extended by org.codehaus.plexus.util.xml.pull.MXSerializer
      extended by org.ops4j.pax.construct.inherit.PluginSerializer
All Implemented Interfaces:
org.codehaus.plexus.util.xml.pull.XmlSerializer

public class PluginSerializer
extends org.codehaus.plexus.util.xml.pull.MXSerializer

Customized XML serializer for plugin metadata


Field Summary
 
Fields inherited from class org.codehaus.plexus.util.xml.pull.MXSerializer
attributeUseApostrophe, autoDeclaredPrefixes, buf, depth, doIndent, elName, elNamespace, elNamespaceCount, FEATURE_NAMES_INTERNED, FEATURE_SERIALIZER_ATTVALUE_USE_APOSTROPHE, finished, indentationBuf, indentationJump, indentationString, lineSeparator, location, maxIndentLevel, namesInterned, namespaceEnd, namespacePrefix, namespaceUri, offsetNewLine, out, pastRoot, precomputedPrefixes, PROPERTY_LOCATION, PROPERTY_SERIALIZER_INDENTATION, PROPERTY_SERIALIZER_LINE_SEPARATOR, seenBracket, seenBracketBracket, seenTag, setPrefixCalled, startTagIncomplete, writeIndentation, writeLineSepartor, XML_URI, XMLNS_URI
 
Constructor Summary
PluginSerializer()
          Configures basic formatting rules
 
Method Summary
 org.codehaus.plexus.util.xml.pull.XmlSerializer attribute(java.lang.String namespace, java.lang.String name, java.lang.String value)
          Overrides method to hide internal attributes used in processing plugin metadata
 
Methods inherited from class org.codehaus.plexus.util.xml.pull.MXSerializer
cdsect, closeStartTag, comment, docdecl, endDocument, endTag, ensureElementsCapacity, ensureNamespacesCapacity, entityRef, flush, getDepth, getFeature, getName, getNamespace, getPrefix, getProperty, getWriter, ignorableWhitespace, lookupOrDeclarePrefix, printable, printable, processingInstruction, rebuildIndentationBuf, reset, setFeature, setOutput, setOutput, setPrefix, setProperty, startDocument, startTag, text, text, writeAttributeValue, writeElementContent, writeElementContent, writeIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginSerializer

public PluginSerializer()
Configures basic formatting rules

Method Detail

attribute

public org.codehaus.plexus.util.xml.pull.XmlSerializer attribute(java.lang.String namespace,
                                                                 java.lang.String name,
                                                                 java.lang.String value)
                                                          throws java.io.IOException
Overrides method to hide internal attributes used in processing plugin metadata

Specified by:
attribute in interface org.codehaus.plexus.util.xml.pull.XmlSerializer
Overrides:
attribute in class org.codehaus.plexus.util.xml.pull.MXSerializer
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.