Class ModelReader

java.lang.Object
org.codehaus.modello.core.io.ModelReader

public class ModelReader extends Object
  • Field Details

  • Constructor Details

    • ModelReader

      public ModelReader()
  • Method Details

    • getAttributesForModel

      public Map<String,String> getAttributesForModel()
    • getAttributesForClass

      public Map<String,String> getAttributesForClass(ModelClass modelClass)
    • getAttributesForInterface

      public Map<String,String> getAttributesForInterface(ModelInterface modelInterface)
    • getAttributesForField

      public Map<String,String> getAttributesForField(ModelField modelField)
    • getAttributesForAssociation

      public Map<String,String> getAttributesForAssociation(ModelAssociation modelAssociation)
    • loadModel

      public Model loadModel(Reader reader) throws ModelloException
      Throws:
      ModelloException
    • parseModel

      public void parseModel(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseDefaults

      private void parseDefaults(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseVersionDefinition

      private void parseVersionDefinition(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseInterfaces

      private void parseInterfaces(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseClasses

      private void parseClasses(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseClassInterfaces

      private void parseClassInterfaces(ModelClass modelClass, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseFields

      private void parseFields(ModelClass modelClass, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseAssociation

      private ModelAssociation parseAssociation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseCodeSegment

      private void parseCodeSegment(ModelClass modelClass, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseCodeSegment

      private void parseCodeSegment(ModelInterface modelInterface, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • parseBaseElement

      private boolean parseBaseElement(BaseElement element, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • getAttributes

      private Map<String,String> getAttributes(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)