org.infoml.jaxb.impl
Class PTypeImpl

java.lang.Object
  extended by org.infoml.jaxb.impl.PTypeImpl
All Implemented Interfaces:
PType

public class PTypeImpl
extends java.lang.Object
implements PType


Nested Class Summary
static class PTypeImpl.AImpl
           
static class PTypeImpl.CodeImpl
           
static class PTypeImpl.EmImpl
           
static class PTypeImpl.PreImpl
           
static class PTypeImpl.StrongImpl
           
 class PTypeImpl.Unmarshaller
           
 
Nested classes/interfaces inherited from interface org.infoml.jaxb.PType
PType.A, PType.Code, PType.Em, PType.Pre, PType.Strong
 
Field Summary
protected  com.sun.xml.bind.util.ListImpl _Content
           
static java.lang.Class version
           
 
Constructor Summary
PTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getContent()
           
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
           
 org.infoml.jaxb.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.infoml.jaxb.impl.runtime.UnmarshallingContext context)
           
 java.util.List getContent()
          Gets the value of the Content property.
 java.lang.Class getPrimaryInterface()
           
 void serializeAttributes(org.infoml.jaxb.impl.runtime.XMLSerializer context)
           
 void serializeBody(org.infoml.jaxb.impl.runtime.XMLSerializer context)
           
 void serializeURIs(org.infoml.jaxb.impl.runtime.XMLSerializer context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Content

protected com.sun.xml.bind.util.ListImpl _Content

version

public static final java.lang.Class version
Constructor Detail

PTypeImpl

public PTypeImpl()
Method Detail

_getContent

protected com.sun.xml.bind.util.ListImpl _getContent()

getContent

public java.util.List getContent()
Description copied from interface: PType
Gets the value of the Content property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the Content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list PType.A PType.Em PType.Pre PType.Code String PType.Strong

Specified by:
getContent in interface PType

createUnmarshaller

public org.infoml.jaxb.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.infoml.jaxb.impl.runtime.UnmarshallingContext context)

serializeBody

public void serializeBody(org.infoml.jaxb.impl.runtime.XMLSerializer context)
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

serializeAttributes

public void serializeAttributes(org.infoml.jaxb.impl.runtime.XMLSerializer context)
                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

serializeURIs

public void serializeURIs(org.infoml.jaxb.impl.runtime.XMLSerializer context)
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getPrimaryInterface

public java.lang.Class getPrimaryInterface()

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()